package com.syh.core.ddd.domain;

import com.syh.core.eventBus.Event;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper = true)
public abstract class DomainEvent<T> extends Event<T> {

  protected Long createdTimestamp;
  protected String uuid;
  protected String content;
  protected Object[] values;
	//消息执行抛出异常是否重试
  protected Boolean retry=true;

}
